using Newtonsoft.Json;
using Org.BouncyCastle.Crypto;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 时间类型表，MaintenanceType=6的时候一个流程实例，可以有两种时间类型
    /// </summary>
    public class YCLWLJGZSYCTimeType : BaseLine
    {
        /// <summary>
        /// 维护类型：1按月维护 2按季维护 3半年 4按半年维护，实际按月 5按一年维护，实际按月 6按三年维护，年内按月，明年开始按季度
        /// </summary>
        [JsonProperty(PropertyName = "MaintenanceType")]
        public int MaintenanceType { get; set; }

        /// <summary>
        /// 当前时间
        /// </summary>
        [JsonProperty(PropertyName = "CurrentTime")]
        public string CurrentTime { get; set; }

        /// <summary>
        /// 数据个数，最多24个
        /// </summary>
        [JsonProperty(PropertyName = "DataNumber")]
        public int DataNumber { get; set; }

        /// <summary>
        ///  行数据
        /// </summary>
        [JsonProperty(PropertyName = "lineData")]
        [SugarColumn(IsIgnore = true)]
        public List<YCLWLJGZSYCDetail> LineData { get; set; }
    }
}
